<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/popper.js/2.9.3/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/js/bootstrap.min.js"></script>
</head>
<body class="text-center">
<table class="table table-primary">
    <tr>
        <th>序号</th>
        <th>标题</th>
        <th>内容</th>
    </tr>

    <tr th:each="articles:${articles}">
        <td th:text="${articles.id}"></td>
        <td th:text="${articles.title}"></td>
        <td th:text="${articles.content}"></td>
    </tr>
</table>
</body>
</html>